#{include file="../Common/Header.html"}
<div class="layui-container fly-marginTop fly-user-main">
    #{include file="../Common/Nav.html"}
    <div class="fly-panel fly-panel-user" pad20>
        <div class="layui-tab layui-tab-brief">
            #{include file="../Common/SecurityNav.html"}
            <div class="content-body">
                <form class="layui-form form-data">
                    <div class="form-block">
                        <div>
                            <div class="form-header">邮箱</div>
                            <div class="form-body"><input type="text" value="#{$user.email}" autocomplete="off"
                                                          class="layui-input" placeholder="未绑定"
                                                          style="color: #ff9191;width: 320px;" disabled></div>
                        </div>

                        <div>
                            <div class="form-header">新邮箱</div>
                            <div class="form-body"><input type="text" name="email" autocomplete="off"
                                                          class="layui-input" placeholder="请输入新邮箱"
                                                          style="color: #ff9191;width: 320px;"></div>
                        </div>

                        <div>
                            <div class="form-header">验证码</div>
                            <div class="form-body"><input type="text" name="email_captcha" autocomplete="off"
                                                          class="layui-input" placeholder="验证码"
                                                          style="color: #ff9191;width: 160px;display: inline-block;">
                                <button type="button" class="layui-btn layui-btn-pink send-captcha">获取验证码</button>
                            </div>
                        </div>

                        <div style="margin-top: 25px;">
                            <button type="button" class="layui-btn layui-btn-pink save-data">保存修改</button>
                        </div>

                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

#{ready("/assets/user/controller/security/email.js")}
#{include file="../Common/Footer.html"}
